package com.swe.chumsmobile.activities;

import java.util.ArrayList;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.widget.ListView;

import com.swe.chumsmobile.R;

public class TopInstructorsActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.top_instructors);
		
		final ListView listview = (ListView) findViewById(R.id.listViewInstr);
		String[] values = new String[] { "Bil Howe","Margaret V. Root","Thaddeus Hogarth",
				"Benjamin Abella","Richard Boyatzis","Christopher J. Cramer","Fernando Sandoval Arzaga",
				"Karen Head","Robert Ghrist"};

		final ArrayList<String> list = new ArrayList<String>();
		for (int i = 0; i < values.length; ++i) {
			list.add(values[i]);
		}
/*		final StableArrayAdapter adapter = new StableArrayAdapter(this,
				android.R.layout.simple_list_item_1, list);
		listview.setAdapter(adapter);*/
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.activity_main, menu);
		return true;
	}

}
